package collection;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

public class SortListDemo {
    public static void main(String[] args) {
        Collection c1 = new ArrayList();
        c1.add(1);
        c1.add(2);
        Collection c2 = new ArrayList();
        c2.add(1);
        c1.removeAll(c2);
        System.out.println(c1);

    }
}
